<!DOCTYPE html>
<html>

<head>
    <!-- 文字换行测试 -->
    <meta charset="utf-8">
    <title>文字换行测试</title>


    <style>

        .box{
            font-size: 20px;
            line-height: 20px;
            width: 300px;
            height: 300px;
            border: 1px solid red;
        }

    </style>


</head>

<body>
    <div class="box">
        这是一段文字按付款撒范 德萨咖啡拉萨幅度萨芬反对水水水水
        <!-- absdklkjdflskflsdflksdjfldsflsdflskdflsdfls fdskfsdjllklfkjwoeijojfoejof -->
    </div>

</body>

</html>